<div class="login-center">
	<form id="LogOnForm" action="/account/login" method="post">
        <div class="login-center">
            <div class="login-caption">
                Login to your account
            </div>
            <div class="login-help">
                If you already have an Migi ID, log on to check the gifts of others to share recent
                or gifts you have for others.
            </div>
            <div class="login-row" style="padding-top: 35px;">
                <div style="float: left; width: 100px; text-align: right; font-weight: bold; padding-top: 3px;">
                    Email :
                </div>
                <div style="float: left; width: 220px; padding-left: 10px">
                    <input type="text" name="email" id="txtEmail" style="width: 200px; height: 20px;
                        border: 1px solid #999999;" />
                    
                </div>
            </div>
            <div class="login-row" style="padding-top: 40px;">
                <div style="float: left; width: 100px; text-align: right; font-weight: bold; padding-top: 3px;">
                    Password :
                </div>
                <div style="float: left; width: 220px; padding-left: 10px">
                    <input type="password" name="password" id="txtPass" style="width: 200px; height: 20px;
                        border: 1px solid #999999;" />                    
                </div>
            </div>
            
            <?php if($_SESSION['count'] >= 3) { ?>
	            <div class="login-row" style="padding-top: 45px;">
	            	<div style="float: left; width: 200px; text-align: right; font-weight: bold; padding-top: 3px; padding-left: 64px;">
		            	<?php Captcha::Generate(); ?>
		            </div>
		        </div>    
		        
		        <div class="login-row" style="padding-top: 55px;">
		            <div style="float: left; width: 100px; text-align: right; font-weight: bold; padding-top: 3px;">	           
				        Captcha:
				    </div>
				    <input type="text" name="captcha" style="width: 200px; height: 20px; border: 1px solid #999999;" />		    	
			    </div>
		    <?php } ?>
            
            <div class="login-row" style="padding-top: 60px; text-align: right">
                <div style="float: left; padding-left: 250px;">
                    <input type="submit" value="Log In" name="login" />
                </div>
            </div>           
            <div class="login-row" style="padding-top: 60px; text-align:center;">
                <label>
                    Don't have a account?
                </label>
                <a href="/account/register" style="font-weight: bold; color: #1767ff">Register>></a>
            </div>
        </div>       
        
	</form>        
</div>         